#!/bin/bash
pkill resetra.pl
date=`date +%y-%m`;
dir="/scratchfs/cc/resetra/log/$date"
s=$(($RANDOM%2000))
sleep $s
mkdir -p $dir
host=`hostname`
filename="$dir/$host"
/root/bin/resetra.pl 5 |tee  $filename 2>&1 >/dev/null &  

